var viewport;

/*
 * onReady函数是整个EXT的入口
 */
Ext.onReady(function(){

	//viewport覆盖整个页面
    viewport = new Ext.Viewport({
        layout:'border',
        autoScroll:true,
        border:false,
        items:[
		menuTree
        ,{
            region:'north',
            id:'viewPortNorth',
            height: 130,
            width:"100%",
            items: [{  
            	html:'<iframe width="100%"   background="head/Images/bg_button.gif" frameborder="no" border="0" marginwidth="0" marginheight="0" scrolling="no" allowtransparency="yes" src="head/head.jsp"></iframe>',
                border:false
            }]
        }
		,contentPanel,
                 {
                     region: 'south',
                     id:'viewPortSouth',
                     height:26,
                     width:"100%",
                     items: [{  
                     	    style:"margin-top: -15px",
                         	html:'<iframe width="100%" frameborder="no" border="0" marginwidth="0" marginheight="0" scrolling="no" allowtransparency="yes" src="tail/tail.jsp"></iframe>',
                         }]
                 }
                 ] 
        }
        );
}
);